package com.orchid.shop.manager;


import com.orchid.shop.manager.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

@EnableConfigurationProperties(value = { UserProperties.class })   //读取自定义的配置
@SpringBootApplication
@ComponentScan(basePackages = { "com.orchid.shop" })
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
